package com.project.common.caching.provider;

import java.util.concurrent.TimeUnit;

public interface ValueProvider {
    void set(String key, String value);

    void set(String key, String value, long expiration, TimeUnit timeUnit);

    void setIfAbsent(String key, String value);

    void setIfAbsent(String key, String value, long expiration, TimeUnit timeUnit);

    String get(String key);
}
